package initialization;

public class StaticTest {

    private static String a = "a";

    private static String b;

    static {
        System.out.println("a = " + a + ", b = " + b);
        b = "b";
        System.out.println("a = " + a + ", b = " + b);
    }

    static void printStaticVarValues() {
        System.out.println("a = " + a + ", b = " + b);
    }

    public static void main(String[] args) {
        printStaticVarValues();
    }
}
